package com.erp.quertz.warehouse;

import com.erp.erp_servers.warehouse.IWarehouseRentService;
import com.erp.quertz.SpringUtil;
import org.quartz.Job;
import org.quartz.JobExecutionContext;

/**
 * @ClassName : rentalFee
 * @Description : 仓库管理-海外仓库费自动计算
 * @Author : lst
 * @Date: 2021-06-16 19:54
 */
public class RentalFeeJob implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) {
        IWarehouseRentService warehouseRentService = SpringUtil.getBean(IWarehouseRentService.class);
        //海外仓库租金费计算
        warehouseRentService.autoShareRentalFee();
    }
}
